package com.jwthhealth_pub.old.report.model.resbody;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

@SuppressWarnings("unused")
public class HraDateRes {
    public HraDateRes() {
    }

    /**
     * code : 0
     * msg : 成功了
     * data : [{"riqi":"2016-12-06","sj":"10:55","name":"于总","nid":"1466"},{"riqi":"2016-12-06","sj":"10:54","name":"于焰","nid":"539"}]
     */



    private String code;
    private String msg;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Parcelable{
        /**
         * riqi : 2016-12-06
         * sj : 10:55
         * name : 于总
         * nid : 1466
         */

        private String riqi;
        private String sj;
        private String name;
        private String nid;

        public DataBean() {
        }

        protected DataBean(Parcel in) {
            riqi = in.readString();
            sj = in.readString();
            name = in.readString();
            nid = in.readString();
        }

        public static final Creator<DataBean> CREATOR = new Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel in) {
                return new DataBean(in);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };

        public String getRiqi() {
            return riqi;
        }

        public void setRiqi(String riqi) {
            this.riqi = riqi;
        }

        public String getSj() {
            return sj;
        }

        public void setSj(String sj) {
            this.sj = sj;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNid() {
            return nid;
        }

        public void setNid(String nid) {
            this.nid = nid;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel parcel, int i) {
            parcel.writeString(riqi);
            parcel.writeString(sj);
            parcel.writeString(name);
            parcel.writeString(nid);
        }
    }
}
